#include "mainwindow.h"
#include <QApplication>
#include <QDebug>
#include <QSqlDatabase>
#include <QSqlError>
#include "dbconnect.h"

#include <QComboBox>
#include <QStandardItemModel>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.setStyleSheet("QLabel#profileLabel{font: bold 10pt Arial;}");

    DBConnect db;
    if (db.exec() == QDialog::Rejected) {
        return -1;
    }


    MainWindow w;
    w.show();


    return a.exec();
}
